<?php

 /**
  * @package JooS
  * @subpackage CodeGenerator
  */

  require_once "JooS/CodeGenerator/Interface.php";

  abstract class JooS_CodeGenerator_Abstract implements JooS_CodeGenerator_Interface {
    const VISIBILITY_PUBLIC    = "public";

    const VISIBILITY_PROTECTED = "protected";

    const VISIBILITY_PRIVATE   = "private";

    /**
     * @var string
     */
    private $_name = null;

    /**
     * @param string $name
     */
    protected function __construct($name) {
      $this->_name = $name;
    }

    /**
     * @return string
     */
    public function getName() {
      return $this->_name;
    }
  }